<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../JS/vue.js"></script>
</head>
<body>
    <div id="app">
        <h1 :style="{fontSize:'50px'}">{{message}}</h1>
        <h1 :style="{fontSize: size +'px'}">{{message}}</h1>
    </div>
    <script>
        const app = new Vue({
            el: '#app',
            data:{
                size: 100,
                message:'你好'
            }
        })
    </script>
</body>
</html>